package com.itlong.cloud.paymenthub;

import com.itlong.cloud.POJO.DTO.property.PropertyAmountChangeGetPageDTO;
import com.itlong.cloud.POJO.VO.property.PropertyAmountChangeGetPageVO;
import com.itlong.cloud.utils.page.Page;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <desc>
 *      物业-资金变动明细暴露接口
 * </desc>
 *
 * @createDate 2018/9/25
 */
@FeignClient(name = "payment-hub-service")
public interface IPropertyAmountChangeClient {

    /**
     * <desc>
     *      分页获取资金变动明细
     * </desc>
     *
     * @param propertyAmountChangeGetPageDTO 物业-资金变动明细列表查询DTO
     * @return 标准格式化响应结果
     * @author wangzhi
     * @createDate 2018/09/25
     */
    @PostMapping(path = "/property/amountChange/getAmountChangeByPage")
    Page<PropertyAmountChangeGetPageVO> getAmountChangeByPage(@RequestBody PropertyAmountChangeGetPageDTO propertyAmountChangeGetPageDTO) throws Exception;

}
